package com.camemax.rabbitmq.work_mode.queuesddl;

import com.camemax.rabbitmq.utils.QueueModulesRunnable;

import java.util.HashMap;

// *********************
// ** @Date: 2021-06-09
// ** @Author: Camemax
// ** @Description: Create the Queues for testing RabbitMQ in work mode.
// *********************
public class WorkMode_CreateQueues {
    private static final String QUEUENAME = "work-queue"; // Two or more consumers consume one queue.
    public static void main(String[] args) {
        QueueModulesRunnable runnable = new QueueModulesRunnable(
                QUEUENAME,
                true,
                false,
                false,
                new HashMap<String, Object>()
        );
        new Thread(runnable, "Create-Queue-Thread").start();
    }
}
